[INFO] cloning repository https://github.com/matthewgao/toyos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthewgao/toyos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewgao%2Ftoyos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewgao%2Ftoyos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54d819130b28ef9b587152d21422b24155c8a4b7
[INFO] building matthewgao/toyos against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewgao%2Ftoyos" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matthewgao/toyos on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/matthewgao/toyos
[INFO] finished tweaking git repo https://github.com/matthewgao/toyos
[INFO] tweaked toml for git repo https://github.com/matthewgao/toyos written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/matthewgao/toyos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5d6ea19fe31b58abf06f63c1dc161d4fcf340c69652b685ea21b539c10492b8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c5d6ea19fe31b58abf06f63c1dc161d4fcf340c69652b685ea21b539c10492b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5d6ea19fe31b58abf06f63c1dc161d4fcf340c69652b685ea21b539c10492b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5d6ea19fe31b58abf06f63c1dc161d4fcf340c69652b685ea21b539c10492b8", kill_on_drop: false }`
[INFO] [stdout] c5d6ea19fe31b58abf06f63c1dc161d4fcf340c69652b685ea21b539c10492b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1924eabf6a5f7d2ab148f76af292c1042c87f49512e719d032e69195cd46a82f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1924eabf6a5f7d2ab148f76af292c1042c87f49512e719d032e69195cd46a82f", kill_on_drop: false }`
[INFO] [stderr]    Compiling bootloader v0.9.16
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling spin v0.4.10
[INFO] [stderr]    Compiling volatile v0.2.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/vga_buffer.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 0x20...0x7e | b'\n' => self.write_byte(byte),
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_something`
[INFO] [stdout]    --> src/vga_buffer.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn print_something() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `HELLO`
[INFO] [stdout]  --> src/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | static HELLO: &[u8] = b"Hello World!";
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rustos-9c8843a5437422db" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-b41dfd6e0da298c8.rlib" "/opt/rustwide/target/debug/deps/libspin-43076b80fad52865.rlib" "/opt/rustwide/target/debug/deps/libspin-8d8d674d0706f443.rlib" "/opt/rustwide/target/debug/deps/libvolatile-8c04ad047f6b2ee1.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "/opt/rustwide/rustup-home/toolchains/ff34b919075f35a1787659e9c448a34b06bab8de/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8b33f9cbbc9652fe.rlib" "-Wl,-Bdynamic"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rustos-9c8843a5437422db.rustos.8vu6rlc9-cgu.6.rcgu.o: in function `_start':
[INFO] [stdout]           /opt/rustwide/workdir/src/main.rs:10: multiple definition of `_start'; /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here
[INFO] [stdout]           /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
[INFO] [stdout]           (.text+0x16): undefined reference to `__libc_csu_fini'
[INFO] [stdout]           /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init'
[INFO] [stdout]           /usr/bin/ld: (.text+0x24): undefined reference to `main'
[INFO] [stdout]           /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustos`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "1924eabf6a5f7d2ab148f76af292c1042c87f49512e719d032e69195cd46a82f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1924eabf6a5f7d2ab148f76af292c1042c87f49512e719d032e69195cd46a82f", kill_on_drop: false }`
[INFO] [stdout] 1924eabf6a5f7d2ab148f76af292c1042c87f49512e719d032e69195cd46a82f
